﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace NUnitTest.UnitTest.Targets
{
    [TestFixture]
    public class TestFixtureSetupException
    {
        [TestFixtureSetUp]
        public void SetupTest()
        {
            throw new Exception("Test Fixture crashed for some reason");
        }

        [Test]
        public void NotBeenSetupShouldFail()
        {
            throw new Exception("Test Crashed Because setup was not correctly executed");
        }

        [TestFixtureTearDown]
        public void TearDownTestShouldFail()
        {
            throw new Exception("Test Teardown crashed because setup was not correctly executed");
        }
    }
}
